package alp.starcode.nudtportal.framework.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 正元账户信息表
 * </p>
 *
 * @author xwx
 * @since 2023-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("easytong_account_info")
@ApiModel(value = "EasytongAccountInfo对象", description = "easytong_account_info（正元账号信息表）")
public class EasytongAccountInfo extends Model<EasytongAccountInfo> {

    private static final long serialVersionUID = 1L;

    @TableId("user_id")
    private String userId;

    @TableField("acc_num")
    private Long accNum;

    @TableField("acc_name")
    private String accName;

    @TableField("ep_id")
    private Integer epId;

    @TableField("card_sid")
    private String cardSid;

    @TableField("rec_num")
    private Integer recNum;

    @TableField("card_accnum")
    private Long cardAccnum;


    @Override
    protected Serializable pkVal() {
        return this.userId;
    }

}
